<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: ON_Buffer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_o_n___buffer.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_o_n___buffer-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ON_Buffer类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a24916523e38b5033ca0ef74b341dad5c"><td class="memItemLeft" align="right" valign="top"><a id="a24916523e38b5033ca0ef74b341dad5c"></a>enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>seek_from_beginning_of_file</b> = 0
, <b>seek_from_current_position</b> = 1
, <b>seek_from_end_of_file</b> = 2
 }</td></tr>
<tr class="separator:a24916523e38b5033ca0ef74b341dad5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a04b4b2453dc5ac21eed0fcdd93b44772"><td class="memItemLeft" align="right" valign="top"><a id="a04b4b2453dc5ac21eed0fcdd93b44772"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ON_Buffer</b> (const <a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;src)</td></tr>
<tr class="separator:a04b4b2453dc5ac21eed0fcdd93b44772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f94576d2644d545412748f3f47b4e02"><td class="memItemLeft" align="right" valign="top"><a id="a8f94576d2644d545412748f3f47b4e02"></a>
<a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;src)</td></tr>
<tr class="separator:a8f94576d2644d545412748f3f47b4e02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5990b13e4e91ff7104c12e41e3f681cf"><td class="memItemLeft" align="right" valign="top"><a id="a5990b13e4e91ff7104c12e41e3f681cf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Destroy</b> ()</td></tr>
<tr class="separator:a5990b13e4e91ff7104c12e41e3f681cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b92dc6a987dd14b5867a8d594b5d54c"><td class="memItemLeft" align="right" valign="top"><a id="a3b92dc6a987dd14b5867a8d594b5d54c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>EmergencyDestroy</b> ()</td></tr>
<tr class="separator:a3b92dc6a987dd14b5867a8d594b5d54c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399e0b3b25725f8b64e3d0113102fe4f"><td class="memItemLeft" align="right" valign="top"><a id="a399e0b3b25725f8b64e3d0113102fe4f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>AtEnd</b> () const</td></tr>
<tr class="separator:a399e0b3b25725f8b64e3d0113102fe4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b0f5eb7718c67ab6c741733ff520d2"><td class="memItemLeft" align="right" valign="top"><a id="ad3b0f5eb7718c67ab6c741733ff520d2"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>Size</b> () const</td></tr>
<tr class="separator:ad3b0f5eb7718c67ab6c741733ff520d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d1193d7082b2272f46e63bc791871b"><td class="memItemLeft" align="right" valign="top"><a id="a63d1193d7082b2272f46e63bc791871b"></a>
ON__UINT32&#160;</td><td class="memItemRight" valign="bottom"><b>CRC32</b> (ON__UINT32 current_remainder) const</td></tr>
<tr class="separator:a63d1193d7082b2272f46e63bc791871b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5c119332f2df68db38bc7046db3cdb0"><td class="memItemLeft" align="right" valign="top"><a id="aa5c119332f2df68db38bc7046db3cdb0"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>CurrentPosition</b> () const</td></tr>
<tr class="separator:aa5c119332f2df68db38bc7046db3cdb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7484357266d9bb7546d27f24ac96fe2d"><td class="memItemLeft" align="right" valign="top"><a id="a7484357266d9bb7546d27f24ac96fe2d"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>Write</b> (ON__UINT64 size, const void *buffer)</td></tr>
<tr class="separator:a7484357266d9bb7546d27f24ac96fe2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade07e24604407bc13946604493190852"><td class="memItemLeft" align="right" valign="top"><a id="ade07e24604407bc13946604493190852"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>Read</b> (ON__UINT64 size, void *buffer)</td></tr>
<tr class="separator:ade07e24604407bc13946604493190852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab21bb47895df1d9c1ac028d7e980ed95"><td class="memItemLeft" align="right" valign="top"><a id="ab21bb47895df1d9c1ac028d7e980ed95"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Seek</b> (ON__INT64 offset, int origin)</td></tr>
<tr class="separator:ab21bb47895df1d9c1ac028d7e980ed95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac34b4ecc81c3f8ab7b0d591977b1f689"><td class="memItemLeft" align="right" valign="top"><a id="ac34b4ecc81c3f8ab7b0d591977b1f689"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>SeekFromStart</b> (ON__INT64 offset)</td></tr>
<tr class="separator:ac34b4ecc81c3f8ab7b0d591977b1f689"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae09b0bd4c728a0f2b7f4eb97e97dce48"><td class="memItemLeft" align="right" valign="top"><a id="ae09b0bd4c728a0f2b7f4eb97e97dce48"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>SeekFromCurrentPosition</b> (ON__INT64 offset)</td></tr>
<tr class="separator:ae09b0bd4c728a0f2b7f4eb97e97dce48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf4319efff0ec798728edd44f306ed13"><td class="memItemLeft" align="right" valign="top"><a id="abf4319efff0ec798728edd44f306ed13"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>SeekFromEnd</b> (ON__INT64 offset)</td></tr>
<tr class="separator:abf4319efff0ec798728edd44f306ed13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac771b73243d8a308765a5d2e53f6a041"><td class="memItemLeft" align="right" valign="top"><a id="ac771b73243d8a308765a5d2e53f6a041"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ChangeSize</b> (ON__UINT64 buffer_size)</td></tr>
<tr class="separator:ac771b73243d8a308765a5d2e53f6a041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab419542485bc354732e11b6134c1de2b"><td class="memItemLeft" align="right" valign="top"><a id="ab419542485bc354732e11b6134c1de2b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Compact</b> ()</td></tr>
<tr class="separator:ab419542485bc354732e11b6134c1de2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a527b9b97d73a3f361966f11004c77b8c"><td class="memItemLeft" align="right" valign="top"><a id="a527b9b97d73a3f361966f11004c77b8c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsValid</b> (const <a class="el" href="class_o_n___text_log.html">ON_TextLog</a> *text_log) const</td></tr>
<tr class="separator:a527b9b97d73a3f361966f11004c77b8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eeec7923b5c00ac2a930f1ca22bc313"><td class="memItemLeft" align="right" valign="top"><a id="a4eeec7923b5c00ac2a930f1ca22bc313"></a>
ON__UINT32&#160;</td><td class="memItemRight" valign="bottom"><b>LastError</b> () const</td></tr>
<tr class="separator:a4eeec7923b5c00ac2a930f1ca22bc313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a774b8d06f510e12889725affe1e750bc"><td class="memItemLeft" align="right" valign="top"><a id="a774b8d06f510e12889725affe1e750bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ClearLastError</b> ()</td></tr>
<tr class="separator:a774b8d06f510e12889725affe1e750bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6278023f2d2b8f6b52094b855fbdd66"><td class="memItemLeft" align="right" valign="top"><a id="ae6278023f2d2b8f6b52094b855fbdd66"></a>
ON_Buffer_ErrorHandler&#160;</td><td class="memItemRight" valign="bottom"><b>ErrorHandler</b> () const</td></tr>
<tr class="separator:ae6278023f2d2b8f6b52094b855fbdd66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c6413b608628fb3147238e39922f91d"><td class="memItemLeft" align="right" valign="top"><a id="a3c6413b608628fb3147238e39922f91d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetErrorHandler</b> (ON_Buffer_ErrorHandler error_handler)</td></tr>
<tr class="separator:a3c6413b608628fb3147238e39922f91d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ec84100d33a87ed3dc327166405717a"><td class="memItemLeft" align="right" valign="top"><a id="a6ec84100d33a87ed3dc327166405717a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>WriteToBinaryArchive</b> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;) const</td></tr>
<tr class="separator:a6ec84100d33a87ed3dc327166405717a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2f22301086b369308341e48c2bc70bd"><td class="memItemLeft" align="right" valign="top"><a id="aa2f22301086b369308341e48c2bc70bd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ReadFromBinaryArchive</b> (<a class="el" href="class_o_n___binary_archive.html">ON_BinaryArchive</a> &amp;)</td></tr>
<tr class="separator:aa2f22301086b369308341e48c2bc70bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962c3308c3d85963642c0ca1242d0ac7"><td class="memItemLeft" align="right" valign="top"><a id="a962c3308c3d85963642c0ca1242d0ac7"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Compress</b> (<a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;compressed_buffer) const</td></tr>
<tr class="separator:a962c3308c3d85963642c0ca1242d0ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aff04cf9629d75cd859d93f4f801cf8"><td class="memItemLeft" align="right" valign="top"><a id="a4aff04cf9629d75cd859d93f4f801cf8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Uncompress</b> (<a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;uncompressed_buffer) const</td></tr>
<tr class="separator:a4aff04cf9629d75cd859d93f4f801cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a168da7c4e4572c07a7ecc27006b92a28"><td class="memItemLeft" align="right" valign="top"><a id="a168da7c4e4572c07a7ecc27006b92a28"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>Compare</b> (const <a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;a, const <a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;b)</td></tr>
<tr class="separator:a168da7c4e4572c07a7ecc27006b92a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a1ab09a86635ccddbf13f8d19c7fe4145"><td class="memItemLeft" align="right" valign="top"><a id="a1ab09a86635ccddbf13f8d19c7fe4145"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>SetCurrentSegment</b> (bool)</td></tr>
<tr class="separator:a1ab09a86635ccddbf13f8d19c7fe4145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43048ba52f6cba688dff812033ece34d"><td class="memItemLeft" align="right" valign="top"><a id="a43048ba52f6cba688dff812033ece34d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Copy</b> (const <a class="el" href="class_o_n___buffer.html">ON_Buffer</a> &amp;)</td></tr>
<tr class="separator:a43048ba52f6cba688dff812033ece34d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ab1d2957f9dad76759b036cd3569bb87f"><td class="memItemLeft" align="right" valign="top"><a id="ab1d2957f9dad76759b036cd3569bb87f"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>m_buffer_size</b></td></tr>
<tr class="separator:ab1d2957f9dad76759b036cd3569bb87f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d189e5e25ec93495b9bfc7e590b056c"><td class="memItemLeft" align="right" valign="top"><a id="a0d189e5e25ec93495b9bfc7e590b056c"></a>
ON__UINT64&#160;</td><td class="memItemRight" valign="bottom"><b>m_current_position</b></td></tr>
<tr class="separator:a0d189e5e25ec93495b9bfc7e590b056c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d428083d1e8a4a7cc9cf687cdad7174"><td class="memItemLeft" align="right" valign="top"><a id="a7d428083d1e8a4a7cc9cf687cdad7174"></a>
struct ON_BUFFER_SEGMENT *&#160;</td><td class="memItemRight" valign="bottom"><b>m_first_segment</b></td></tr>
<tr class="separator:a7d428083d1e8a4a7cc9cf687cdad7174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4ab0e32382c8e08ebbdfd822ba44a6"><td class="memItemLeft" align="right" valign="top"><a id="afb4ab0e32382c8e08ebbdfd822ba44a6"></a>
struct ON_BUFFER_SEGMENT *&#160;</td><td class="memItemRight" valign="bottom"><b>m_last_segment</b></td></tr>
<tr class="separator:afb4ab0e32382c8e08ebbdfd822ba44a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c84aca1400f7d53d9241f9843be9e55"><td class="memItemLeft" align="right" valign="top"><a id="a7c84aca1400f7d53d9241f9843be9e55"></a>
struct ON_BUFFER_SEGMENT *&#160;</td><td class="memItemRight" valign="bottom"><b>m_current_segment</b></td></tr>
<tr class="separator:a7c84aca1400f7d53d9241f9843be9e55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1fa092513d0539b15118df7eb783a57"><td class="memItemLeft" align="right" valign="top"><a id="ae1fa092513d0539b15118df7eb783a57"></a>
ON_MEMORY_POOL *&#160;</td><td class="memItemRight" valign="bottom"><b>m_heap</b></td></tr>
<tr class="separator:ae1fa092513d0539b15118df7eb783a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca2a8b5162658e2ec22c7d28bffda7ed"><td class="memItemLeft" align="right" valign="top"><a id="aca2a8b5162658e2ec22c7d28bffda7ed"></a>
ON_Buffer_ErrorHandler&#160;</td><td class="memItemRight" valign="bottom"><b>m_error_handler</b></td></tr>
<tr class="separator:aca2a8b5162658e2ec22c7d28bffda7ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe044ba88b8c0c1a1a7ea91ac090b286"><td class="memItemLeft" align="right" valign="top"><a id="abe044ba88b8c0c1a1a7ea91ac090b286"></a>
ON__UINT32&#160;</td><td class="memItemRight" valign="bottom"><b>m_last_error</b></td></tr>
<tr class="separator:abe044ba88b8c0c1a1a7ea91ac090b286"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fe9566aeb7635507349a2e6d22d713f"><td class="memItemLeft" align="right" valign="top"><a id="a2fe9566aeb7635507349a2e6d22d713f"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><b>m_reserved</b> [12]</td></tr>
<tr class="separator:a2fe9566aeb7635507349a2e6d22d713f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>surface/include/pcl/surface/3rdparty/opennurbs/<a class="el" href="opennurbs__archive_8h_source.html">opennurbs_archive.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_o_n___buffer.html">ON_Buffer</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
